package com.fbli.controller;


import com.fbli.pojo.Users;
import com.fbli.service.UpdateFormService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@ResponseBody


//修改个人资料
public class UpdateFormController {

    @Autowired
    private UpdateFormService updateFormService;

    @RequestMapping(value = "/updateForm",produces="text/html;charset=UTF-8;")
    public String updatForm(Users users){

        System.out.println(users);
        updateFormService.updateForm(users);




        return "修改资料成功";
    }

}
